Avoid possible memory corruption in xdgmime, fd.o bug 12512, reported by
authorMatthias Clasen <mclasen@redhat.com>
Wed, 16 Apr 2008 16:59:28 +0000 (16:59 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 16 Apr 2008 16:59:28 +0000 (16:59 +0000)
commitf3177151c61c31a8e2b7a16a8f661b6f4ef1d128
tree7fa7d867c5b1dd719d103b3a46ca0b0b37b2d8c9
parentb1542fe9138f7a8ecc0d30fa59ba046685f45c9b
Avoid possible memory corruption in xdgmime, fd.o bug 12512, reported by

2008-04-16  Matthias Clasen  <mclasen@redhat.com>

        Avoid possible memory corruption in xdgmime, fd.o bug 12512,
        reported by Joe Shaw and Federico Mena Quintero.

        * xdgmime.c(_xdg_mime_media_type_equal): Implement.
        (xdg_mime_media_type_equal): Turn into a wrapper around the
        _-prefixed version.

        * xdgmimecache.c: Use the _-prefixed versions of
        comparison functions throughout.

svn path=/trunk/; revision=20009
gtk/xdgmime/ChangeLog
gtk/xdgmime/xdgmime.c
gtk/xdgmime/xdgmimecache.c